Behaviour-Preserving Evolution of Interface Exceptions
نویسندگان
چکیده
Interface exceptions (explicitly declared exceptions that a method can propagate outside) are an inherent part of the interface describing the behaviour of a particular class of objects. Evolution of system behaviour is thus necessarily accompanied by and reflected in the evolution of interface exceptions. While evolution of normal system behaviour is adequately supported by various language mechanisms, such as subtyping and inheritance, few contemporary object-oriented programming languages offer support for the evolution of interface exceptions. Some languages permit specialising and deleting interface exceptions while subtyping, but none of them provides an adequate support for adding exceptions. In this paper we propose two solutions for dealing with additional exceptions introduced while system evolution. To solve the problem of non-conforming interfaces resulting from the addition of new exceptions in a development step, the first proposal uses rescue handlers and the second one employs the forwarding technique.
منابع مشابه
Supporting Evolution of Interface Exceptions
Interface exceptions (explicitly declared exceptions that a method can propagate outside) are an inherent part of the interface describing the behaviour of a particular class of objects. Evolution of system behaviour is thus necessarily accompanied by and reflected in the evolution of interface exceptions. While evolution of normal system behaviour is adequately supported by various language me...
متن کاملSocial life, evolution of intelligence, behaviour and human brain size
Social life is one of the most critical factors of the evolution of the behavior of non-human primates and humans. Several factors, such as an increase in brain size, adaptive modules, and grooming, are related to the complexities of social groups. Although some scientists have mentioned foraging as a rival hypothesis for the evolution of behavior, in this research, we tried to investigate the ...
متن کاملEvolution styles: change patterns for Software Evolution
Patterns have been proved useful in many problem domains. In the domain of software evolution, only behaviour-preserving patterns (e.g. refactorings) have ever been proposed. This paper proposes to broaden the scope of change patterns by means of a reification of any evolution efforts into styles. We define an evolution style as a first-class entity which is specified once and can be applied ma...
متن کاملAir Plasma Sprayed Bond Coat Oxidation Behavior and its Resistance to Isothermal and Thermal Shock Loading
An experimental investigation was conducted to find the effect of spraying method of coating of Thermal Barrier Coatings (TBCs) on their oxidation behaviour and resistance to various thermal loading. Isothermal and thermal shock tests were performed in order to study oxidation behaviour of air plasma sprayed Bond Coat (BC) and assess its effect on TBCs lifetime under the stated loadings. Specim...
متن کاملMicrostructure evolution and mechanical properties of Mo40/C93200 bimetal processed by compound casting process
Compound casting refers to a process that used to produce bimetals. This study investigates the interface of Mo40/C93200 that is produced by compound casting process. In this research, molten bronze is poured around steel core, interaction between liquid and solid creates a diffusion zone and followed by a transition layer which leads to the creation of diffused region between the interfaces of...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001